package com.qcby.dao;

import com.qcby.common.LessonPlan.ShowByPage;
import com.qcby.entity.LessonPlan;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LessonPlanDao {
    List<LessonPlan> showLessonPlanByPage(ShowByPage pageInfo);

    int getLessonPlanCount(ShowByPage pageInfo);

    int addLessonPlan(LessonPlan info);

    int deleteLessonPlan(int id);

    LessonPlan showLessonPlanDetail(int id);

    List<LessonPlan> fuzzyQueryLessonPlanByPage(ShowByPage info);

    int getLessonPlanCountWhenSearch (ShowByPage info);

    LessonPlan getLessonPlanByTeacherName(Integer id);

}
